import axios from './index.js'
//获取感染者信息分页数据
const treatmentInfoList = params => {
    return axios.get('/treatmentInfo/list',params)
}
const addTreatmentInfo = params => {
    return axios.post('/treatmentInfo/addTreatmentInfo',params)
}
const updateTreatmentInfo = params => {
    return axios.post('/treatmentInfo/update',params)
}
const treatmentInfoDetail = id => {
    return axios.get(`/treatmentInfo/detail/${id}`)
}
export default {
    treatmentInfoList,
    addTreatmentInfo,
    updateTreatmentInfo,
    treatmentInfoDetail,
}
